Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

interesting

So I'm trying to remember what exactly may have been the reason why my own experience with Delete was so negative. The only thing I can remember is that some of my custom classes had a Sub Delete, and if memory (mine ;-) serves well, I was able to avoid the crashes (occurring after calling explicit Delete) when I outcommented all my Sub Deletes.

I never got to know exactly why Delete was crashing my code, because in the meanwhile I had re-organized it, so out-of-memory problems were gone. Key was three things, in descending order of relevance: (a) avoid keeping many -- more than a few dozens -- NotesDocument instances in memory at the same time, (b) re-use objects whenever possible, instead of re-instantiating them, and (c) eliminate cyclic object references.

Anyway, I'll certainly give Delete a closer look, next time I'll have an opportunity (a need, that is) to.

P.S.
I just looked up my related thread in the Partner Forum 2004 (oh my, that long ago...) Julie Kadashevich responded <quote>"By doing a delete the object chain is put in a bad state. So, when the official clean up happens at agent termination LotusScript gets into an infinite loop."</quote> I think her response was what ultimately made me stay away from using explicit Delete.


Feedback response number WEBB88UMLG created by ~Chris Frofootherobu on 08/31/2010

LS Agent hands on terminating (~Gus Chukithera... 29.Aug.10)
. . some questions (~Tip Zekjumitex... 29.Aug.10)
. . . . Do do Delete (~Bill Frokimari... 31.Aug.10)
. . . . . . interesting (~Tip Zekjumitex... 31.Aug.10)
. . . . . . . . If you explicitly delete _everythin... (~Bill Frokimari... 31.Aug.10)
. . . . . . . . . . *thanks for clarifying (~Tip Zekjumitex... 1.Sep.10)
. . . . . . . . . . There is one issue with Delete... (~James Brewever... 1.Sep.10)
. . . . . . . . . . Andre - "in the queue"? CRISPY (~Sanjay Quettum... 1.Sep.10)
. . . . . . . . . . . . No, I can't... (~Bill Frokimari... 1.Sep.10)
. . . . . . . . . . . . . . Ok, thanks. (~Sanjay Quettum... 1.Sep.10)
. . . . . . . . . . . . . . . . Erik, please send me the PMR number... (~Bill Frokimari... 2.Sep.10)
. . . . . . . . . . . . . . . . . . Thanks, email sent. (~Sanjay Quettum... 3.Sep.10)
. . . . . . . . . . . . . . Andre, do you have an SPR# for Dele... (~Sanjay Quettum... 2.Sep.10)
. . . . answer (~Gus Chukithera... 29.Aug.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS